Developer Documentation

QuickTime 4 API Documentation

QuickTime For Windows Programmers

| Previous | Chapter Contents | Chapter Top | Roadmap | Next |

Conversion From Earlier Versions

Converting an existing Windows program from earlier versions of QuickTime to QuickTime 3 is relatively simple, but there are a few changes that you should be aware of. These include:

    void
        GetMovieBox
            (Movie theMovie,
             Rect *boxRect)

instead of

    void
        GetMovieBox
            (Movie mMovie,
             LPRECT lprcMovieRect)

as in earlier versions.

    ComponentInstance
        NewMovieController
            (Movie theMovie,
             const Rect *movieRect,
             long someFlags)

instead of four. To obtain the port corresponding to a window, you must first register the window with QTML by calling CreatePortAssociation, then use GetHWNDPort to get the port pointer. Remember to deregister the window with DestroyPortAssociation before destroying the window.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Roadmap | Next |